<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>1</title>
    <style>
    </style>
</head>
<body>

<form action="/appHouTai_git/login.html">

    姓名: <input type="text" name="user" required>
    <br>
    手机号: <input type="text" name="phone">
    <br>
    性别: <input type="radio" name="sex" value="1">男 <input type="radio" name="sex" value="2">女
    <br>
    <input type="button" value="提交">

</form>


</body>
<script type="text/javascript" src="js/public/jquery.js"></script>
<script>

    $('input[type = button]').click(function () {

        var str = $("form").serialize();

        console.log( str )
//        $("form").submit()

    });


</script>

</html>
